home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _E212A8C2CB1041C2BB8EC42DA23EDCA0 < prev    next >
Encoding:
Text File  |  2006-08-04  |  2.2 KB  |  68 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': 'Factory default preset for BallsAndBubbles effect',
  8.         'Host': 'Paint Shop Pro 8',
  9.         'Host Version': '8.00',
  10.     }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 50, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (255,255,255), 
  20.                 'Direction': (1,1,-1), 
  21.                 'HighlightSize': 33
  22.                 }]
  23.             }, 
  24.         'Mode': App.Constants.CountType.Single, 
  25.         'Multiple': {
  26.             'AverageSize': 15, 
  27.             'Coverage': 100, 
  28.             'CreateMethod': App.Constants.BubbleCreateMethod.NonIntersecting, 
  29.             'SizeVariation': 75
  30.             }, 
  31.         'RandomSeed': 0, 
  32.         'RandomizePlacement': App.Constants.Boolean.false, 
  33.         'Single': {
  34.             'MaxPossibleSize': App.Constants.Boolean.false
  35.             }, 
  36.         'Surface': {
  37.             'Material': {
  38.                 'Color': (255,255,255), 
  39.                 'Pattern': None, 
  40.                 'Gradient': None, 
  41.                 'Texture': None
  42.                 }, 
  43.             'BumpMap': {
  44.                 'Active': App.Constants.Boolean.false, 
  45.                 'Depth': 30, 
  46.                 'FileName': r'', 
  47.                 'Fit': App.Constants.Boolean.true, 
  48.                 'Size': 100, 
  49.                 'Smoothness': 0
  50.                 }, 
  51.             'EnvironmentMap': {
  52.                 'FringeType': 0, 
  53.                 'Active': App.Constants.Boolean.false, 
  54.                 'FileName': r'', 
  55.                 'FringeSpacing': 90, 
  56.                 'PatternOpacity': 100, 
  57.                 'EnvironmentType': App.Constants.BubbleMapType.Diffraction
  58.                 }, 
  59.             'Gloss': 0, 
  60.             'Opacity': 15, 
  61.             'Shininess': 50
  62.             }
  63.         }
  64.  
  65. def Do(Environment):
  66.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  67.  
  68.